package com.hqyj.shop.service;

import com.hqyj.shop.pojo.Detail;
import com.hqyj.shop.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DetailService {

    List<Order> getByDetailId();

//    int insertOneOrder(Detail detail);

    int updateOrderByOrderStatus(@Param("orderId") int orderId, @Param("status") String status);
//    List<Order> updateOrderByOrderStatus(Order order);
}
